<div class="form">
        <form action="#" class="form-horizontal w5c-form" w5c-form-validate novalidate
              name="addValidateForm_1">
            <div class="form-body" >
                <div>
                    <div class="row" ng-if="updateHrefFlag">
	                   <div class="col-md-3">
	                     	<span style="margin-left: 15%;font-size: 17px;color: #656060;">上刊类型 ： </span>
	                     	<span style="font-size: 17px;color: #656060;">{{publishBill.billType | code : 'publishBillType'}}</span>
						</div>
                        <div class="col-md-3">
                          <span style="margin-left: 10%;font-size: 17px;color: #656060;">媒体类型 ： </span>
                   		  <span style="font-size: 17px;color: #656060;">{{mediaName}}</span>
						</div>
						<div class="col-md-2">
						</div>
                        <div class="col-md-6" style="text-align: right;margin-top: -2%;">
							<div class="btn-group btn-theme-panel" style="margin-left: 85%;">
								<a href="javascript:;" class="btn dropdown-toggle"  ng-click="addPublish.callBack();">
								<i class="icon-arrow-left" style="font-size: 45px;"></i>
								</a>
							</div>
						</div>
                    </div>
                </div>
                <hr/>
                <div class="form-group">
                	<label class="col-md-2 control-label" style="font-size:16px"><i class="icon-notebook" style="font-size: 18px;color: #397FEC;"></i>&nbsp;&nbsp;上刊内容 : </label>
                     <div class="col-md-6" style="padding-top: 8px;color: #656060;font-size:17px;">
                             <span>{{publishBill.content}}</span>
                    </div>
                </div>
                <div class="form-group">
                	<label class="col-md-2 control-label" style="font-size:16px"><i class="fa fa-calendar" style="font-size: 18px;color: #36d7ac;"></i>&nbsp;&nbsp;开始时间 : </label>
                    <div class="col-md-6" style="padding-top: 8px;color: #656060;font-size:17px">
                             <span>{{publishBill.publishTime}}</span>
                    </div>
                </div>
                <div class="form-group">
                	<label class="col-md-2 control-label" style="font-size:16px"><i class="fa fa-calendar" style="font-size: 18px;color: #BF364F;"></i>&nbsp;&nbsp;截止时间 : </label>
                    <div class="col-md-6" style="padding-top: 8px;color: #656060;font-size:17px;">
                              <span>{{publishBill.publishOffTime}}</span>
                    </div>
          		</div>
          		  <hr/>
           		<div class="form-group">
                 	<label class="col-md-2 control-label" style="font-size:16px"><i class="fa fa-file-o" style="font-size: 18px;color: #1B1D1D;"></i>&nbsp;&nbsp;广告资料 : </label>
          					 <div>
           					 <table style="width: 180px;margin-left: 18%;" >
            					 <tr ng-repeat="file in bidFile.file" style="height: 30px;">
             					 <td>
             					 	<a href="javascript:void(0);" ng-click="fileModal.downloadFile(file.path);" style="margin: 0px 0px 0px 5px;" title="下载" >{{file.name}}</a>
             					 </td>
             					 <td>
             					 	<a href="javascript:void(0);" ng-click="fileModal.downloadFile(file.path);" style="font-size:17px;" title="下载" class="fa fa-download" ></a>
             					 </td>
            					 </tr>
           					 </table>
          					 </div>
                 </div>
                 <div class="form-group">
                  	<label class="col-md-2 control-label" style="font-size:16px"><i class="fa fa-file-image-o" style="font-size: 18px;color: #AFAC4A;"></i>&nbsp;&nbsp;广告样刊 : </label>
                  	<div class="col-md-9" style="margin-left:15%;">	
					 	<div class="mix-grid" ng-repeat="img in bidImg.file">
		                    <div class="col-md-4 col-sm-4 mix " style="display: block;opacity: 1;">
		                    	<div class="mix-inner">
									<img class="img-responsive" ng-src="{{nginxPath+img.path}}" alt="" style="width:250px;height:140px">
									<div class="mix-details" style="height:50%">
											<span>{{img.name}}</span>
											<a class="mix-link" ng-click="fileModal.downloadFile(img.path);">
												<i class="fa fa-download" ></i>
											</a>
											<a class="mix-preview fancybox-button" ng-href="{{nginxPath+img.path}}" title="{{img.name}}" data-rel="fancybox-button">
												<i class="fa fa-search"></i>
											</a>
									</div>
								</div>
							</div>
						</div> 
					</div>
                 </div>
             </form>
           </div>
            <hr/>
            <div class="col-md-12" ng-if="busResources.elements.length == 0 && stopResources.elements.length == 0">
				<div style="font-size:30px;height: 220px;color:#E8E0E0;border: 3px dotted #E8E0E0;"><div style="text-align:center; width:200px;margin:35px auto;">暂无资源</div>
				</div>
			</div> 
            <div class="col-md-12" ng-show="publishBill.billType == '1'">
               <div class="portlet-body" ng-show="busResources.elements.length > 0">
                   <table class="table table-striped table-bordered table-hover dataTable" style="border-top:0px;">
                       <thead>
                           <tr>
                               <th style="text-align: center">资源编号</th>
                           	   <th style="text-align: center">车牌</th>
                               <th style="text-align: center">自编号</th>
                               <th style="text-align: center">线路</th>
                               <th style="text-align: center">所属公司</th>
                           </tr>
                       </thead>
                       <tbody>
                           <tr ng-repeat="resource in busResources.elements">
                               <td style="text-align: center;line-height: 33px;">
                                   {{resource.value.resourceCode}}
                               </td>
                           	   <td style="text-align: center;line-height: 33px;">
                                   {{resource.value.plateNo}}
                               </td>
                               <td style="text-align: center;line-height: 33px;">
                                   <a ng-if="updateHrefFlag" href="javascript:void(0)" ng-click="billDetailsModal.showUpdateModal(resource.value)">{{resource.value.vehicleNo}}</a>
                                   <span ng-if="addFlag && !updateHrefFlag">{{resource.value.vehicleNo}}</span>
                               </td>
                               <td style="text-align: center;line-height: 33px;">
                                   {{resource.value.lineNo}}
                               </td>
                               <td style="text-align: center;line-height: 33px;">
                                   {{resource.value.companyName}}
                               </td>
                           </tr>
                       </table>
                   </table>
               </div>
           </div> 
           <div ng-show="publishBill.billType == '2'">
                   <div class="portlet-body"  ng-show="stopResources.elements.length > 0">
                       <table class="table table-striped table-bordered table-hover dataTable" style="border-top:0px;">
                           <thead>
                               <tr>
                             	   <th style="text-align: center">资源编号</th>
                                   <th style="text-align: center">站点名称</th>
                                   <th style="text-align: center">所在街道</th>
                                   <th style="text-align: center">行向</th>
                               </tr>
                           </thead>
                           <tbody>
                               <tr ng-repeat="resource in stopResources.elements">
                                   <td style="text-align: center;line-height: 33px;">
                                       {{resource.value.resourceCode}}
                                   </td>
                                   <td style="text-align: center;line-height: 33px;">
                                       <a ng-if="updateHrefFlag" href="javascript:void(0)" ng-click="billDetailsModal.showUpdateModal(resource.value)">{{resource.value.stopName}}</a>
                                       <span ng-if="addFlag && !updateHrefFlag">{{resource.value.stopName}}</span>
                                   </td>
                                   <td style="text-align: center;line-height: 33px;">
                                       {{resource.value.roadName}}
                                   </td>
                                   <td style="text-align: center;line-height: 33px;">
                                       {{resource.value.direction}}
                                   </td>
                               </tr>
                           </tbody>
                       </table>
                   </div>
           </div>
			<div ed-modal="billDetailsModal" data-options="width:'900px',static:true,title: '上刊资源明细',
			    icon: 'glyphicon glyphicon-briefcase'" >
			    <div ng-include="'www/views/publish_schedule.html'" style="height: 495px;">
			  </div>
			</div>